package com.mlnx.device.dao.mysql;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mlnx.device.entity.SugarDevice;
import com.mlnx.device.pojo.dto.SugarDeviceDto;
import com.mlnx.device.pojo.form.SugarDeviceFilterForm;
import org.apache.ibatis.annotations.Param;

import java.util.Map;


public interface SugarDeviceMapper extends BaseMapper<SugarDevice> {

    Page<SugarDeviceDto> selectDeviceDtoPage(Page<SugarDeviceDto> sugarDeviceDtoPage, @Param("filter") SugarDeviceFilterForm sugarDeviceFilterForm, @Param("sorter") Map<String, String> sorter);
}
